<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <title>微联盟</title>
    <link rel="shortcut icon" type="image/x-icon" href="./Public/ico/favicon.ico"/>
    <link rel="stylesheet" href="./Public/seller/css/base.css"/>
    <link rel="stylesheet" href="./Public/seller/css/systeam_page.css"/>
    <script type="text/javascript" src="./Public/seller/js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="./Public/seller/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="./Public/seller/js/seller_nav.js"></script>
</head>
<body>
<div class="header">
    <span class="header-logo">
        <a href="javascript:void(0);" onclick="openItem('welcome|index')">
            <img src="./Public/seller/images/header_logo.png" width="50"/>
        </a>
    </span>
    <ul class="nav">
        <foreach name="first_navs" item="nav">
            <li><a data-menu="{$nav.nav_id}" href="javascript:void(0);">{$nav.nav_name}</a></li>
        </foreach>
    </ul>
    <div><a class="out" style="cursor: pointer;" href="{:U('Login/logout')}">退出登录</a></div>
</div>
<foreach name="son_navs" item="snv">
    <div class="sub-menu menu_code_{$snv.parent_id}">
        <span class="menu-tit">{$snv.p_nav_name}</span>
        <ul class="menu-ul">
            <foreach name="snv[son_navs]" item="s_nv">
                <li><a href="javascript:void(0);" data-param="{$s_nv.nav_a}|{$s_nv.nav_c}" data-index="{$snv.parent_id}">{$s_nv.nav_name}</a></li>
            </foreach>
        </ul>
    </div>
</foreach>

<div class="permissions">
    <iframe src="" id="workspace" name="workspace" style="overflow: visible;" frameborder="0" width="100%" height="100%" scrolling="yes" onload="window.parent"></iframe>
</div>

</body>
<script type="text/javascript">
    $(".delcache").click(function()
    {
        $.ajax({
            url: "{:U('Login/clearcache')}",
            type: "post",
            data: {},
            dataType:'JSON',
            beforeSend: function () {
                layer.msg('清除中..', {icon: 16,time:500});
            },
            success: function (msg)
            {
                if(msg.status == 'success'){
                    layer.alert('清除成功');
                }else{
                    layer.alert('清除失败');
                }
            }
        });
    });
    $(".edit-password").click(function() {
        layer.open({
            type: 2,
            title: '关于我们',
            shadeClose: true,
            shade: 0.3,
            area: ['500px', '75%'],
            content:'{:U("Index/self")}'
        });
    });

</script>
</html>